//
//  CustomViewModelByAc.m
//  SelfDrivingTravelling-IOS
//
//  Created by Teplot_01 on 16/8/3.
//  Copyright © 2016年 Teplot_01. All rights reserved.
//

#import "CustomViewModelByAc.h"

@implementation CustomViewModelByAc

+ (instancetype)modelWithImageView:(NSString *)imageView title:(NSString *)title icon:(NSString *)icon cityIcon:(NSString *)cityIcon city:(NSString *)city date:(NSString *)date time:(NSString *)time{
    
    return [[self alloc] initWithImageView:imageView title:title icon:icon cityIcon:cityIcon city:city date:date time:time];
}

- (instancetype)initWithImageView:(NSString *)imageView title:(NSString *)title icon:(NSString *)icon cityIcon:(NSString *)cityIcon city:(NSString *)city date:(NSString *)date time:(NSString *)time{
    
    if (self = [super init]) {
        self.imageview = imageView;
        self.title = title;
        self.icon = icon;
        self.cityIcon = cityIcon;
        self.city = city;
        self.date = date;
        self.time = time;
    }
    return self;
}


@end
